package com.gxy.learn.backup.shiroauth.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gxy.learn.backup.shiroauth.entity.SysRoleMenu;
import com.gxy.learn.backup.shiroauth.vo.SysRoleMenuInfoVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * author: Gao xueyong
 * Create at: 2021/12/15 下午9:49
 */
public interface SysRoleMenuMapper extends BaseMapper<SysRoleMenu> {
    /**
     * 根据url获取所属角色
     *
     * @param url
     * @return
     */
    List<SysRoleMenuInfoVO> getRoleInfoByUrl(@Param("url") String url);
}
